

var _gaq = _gaq || [];

  _gaq.push(['_setAccount', 'UA-31004174-2']);
  _gaq.push(['_trackPageview']);

  rm._log_erro = function(args){
	 _gaq.push(['_trackEvent','erro',args.s, args.e.join()]);
  };
  rm._log_success = function(args){
		//_gaq.push(['_trackEvent','sucesso',args.s,args.m]);
  };  
  
var mainNotifyPool = null;

window.addEvent('domready',function(){ 
	//rm.format = "jsonp";
	//rm.url="http://jasite.no-ip.biz:8330/ata3/ws";
	mainNotifyPool = new NotifyPool("avisos");
	mainNotifyPool.getEle().setStyles({
				'margin-top':'8px'
				,'padding-right':'0px'});
	 $$("#sidebar").grab(mainNotifyPool.getEle()); 
	js.underas.core.Underas.loadModule({"mod":"br.net.atasacramental.usuario.view.Login","act":"autoLogin","icon":"lock","title":"Autenticacao"});

});
